package cn.edu.pku.ss.situationperceiver;

import org.alljoyn.bus.BusException;
import org.alljoyn.bus.BusObject;

public class ContextShareService implements ContextShareInterface, BusObject{
/**
 * The alljoyn bus object implements ContextShareInterface.
 * Functionalities:(copy from the interface)
 * 1) Receive interest -> receive a ContextSharingRequest and transfer the request to ContextSharingService. (ignore when senderid==itself)
 * 2) Receive a context message -> receive the Shared Context Message, check the recipient and transfer it to Interpreter.
 */
	@Override
	public void ReceiveContextSharingRequest(
			ContextSharingRequest mContextSharingRequest) throws BusException {
		// TODO Auto-generated method stub
		System.err.println("Receive Context Shareing Request!");
	}

	@Override
	public void ReceiveContextMessage(ContextMessage mContextMessage)
			throws BusException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void test(Test t) throws BusException {
		// TODO Auto-generated method stub
		
	}



}
